package edu.uaskl.jqf.model.matrix;

public class MatrixComplexQuadraticIdentity extends MatrixComplexQuadratic {

    public static final MatrixComplexQuadraticIdentity size2 = new MatrixComplexQuadraticIdentity(2);
    public static final MatrixComplexQuadraticIdentity size4 = new MatrixComplexQuadraticIdentity(4);

    public MatrixComplexQuadraticIdentity(final int size) {
        super(getNewValues(size));
    }

    private static double[][] getNewValues(final int size) {
        final double[][] newValues = new double[size][size];
        for (int i = 0; i < size; i++)
            newValues[i][i] = 1;
        return newValues;
    }

}
